Function not intended for direct use by user. Used inside g.getmeta as an intermediate step between loading the raw data and calibrating it. This step includes extracting the starttime and adjusting it to nearest integer number of long epoch window lengths in an hour, truncating the data accordingly, extracting the corresponding weekday and mean temperature (if temperature is available).
get_starttime_weekday_meantemp_truncdata(temp.available, monc,
dformat, data, selectdaysfile, P, header, desiredtz, sf, i,
datafile, ws2, starttime, wday, weekdays, wdayname)
Boolean whether temperate is available.
See g.inspectfile
See g.dotorcomma
Data part of g.readaccfile output
See g.dotorcomma
data loaded from accelerometer file with g.readaccfile
Header part of g.readaccfile output
See g.getmeta
Numeric, sample frequency in Hertz
Integer index of passed on from g.getmeta to indicate what data block is being read.
See g.getmeta
Long epoch length
Once calculate it is remembered and fed into this function again, such that it does not have to be recalulated.
Once calculate it is remembered and fed into this function again, such that it does not have to be recalulated.
Once calculate it is remembered and fed into this function again, such that it does not have to be recalulated.
Once calculate it is remembered and fed into this function again, such that it does not have to be recalulated.
Vincent T van Hees <v.vanhees@accelting.com>